Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Mon, 8 Jun 2026 00:05:35 +0000 (12:05 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Mon, 8 Jun 2026 00:05:35 +0000 (12:05 +1200)
commit26a5826b6f980671a8a78490cfb73b026a26bc5e
tree785baafeabbbd58d9ed16a4bd044f5891a22546d
parent9e9658306808cb991396d75653d666f5152b9bf7
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp